name and shame
(British English) to publish the names of people or organizations who have done something wrong or illegal
Businesses which fail in their duty to protect the environment should be named and shamed.